package com.aiti.lulian.entity.newCard;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * description:
 * auth fcb
 * date 2025-09-05 11:41
 **/
@ApiModel(value = "企业邀请二维码",description = "")
@TableName("card_enterprise_qr")
@Data
public class CardEnterpriseQr {

    /** 主键 */
    @ApiModelProperty(name = "主键",notes = "")
    @TableId(value = "base_id",type = IdType.INPUT)
    private String baseId ;

    /** 企业id */
    @ApiModelProperty(name = "企业id",notes = "")
    @TableField(value = "enterprise_id")
    private String enterpriseId ;

    /** 模板id */
    @ApiModelProperty(name = "模板id",notes = "")
    @TableField(value = "template_id")
    private String templateId ;

    /** base64形式的二维码图片 */
    @ApiModelProperty(name = "base64形式的二维码图片",notes = "")
    @TableField(value = "qr_code")
    private String qrCode ;

    /** 二维码过期时间 */
    @ApiModelProperty(name = "二维码过期时间",notes = "")
    @TableField(value = "expire_time")
    private Date expireTime ;

    /** 二维码过期时间类型。1：永久有效，2：七天后过期 */
    @ApiModelProperty(name = "二维码过期时间类型。1：永久有效，2：七天后过期",notes = "")
    @TableField(value = "expire_time_type")
    private Integer expireTimeType ;

    /** 创建人 */
    @ApiModelProperty(name = "创建人",notes = "")
    @TableField(value = "base_create_by")
    private String baseCreateBy ;

    /** 创建时间 */
    @ApiModelProperty(name = "创建时间",notes = "")
    @TableField(value = "base_create_time")
    private Date baseCreateTime ;

    /** 更新人 */
    @ApiModelProperty(name = "更新人",notes = "")
    @TableField(value = "base_update_by")
    private String baseUpdateBy ;

    /** 更新时间 */
    @ApiModelProperty(name = "更新时间",notes = "")
    @TableField(value = "base_update_time")
    private Date baseUpdateTime ;

    /** 删除标识。0：未删除，1：已删除 */
    @ApiModelProperty(name = "删除标识。0：未删除，1：已删除",notes = "")
    @TableField(value = "is_delete")
    private Integer isDelete ;

    @ApiModelProperty(name = "1:微信邀请，用户填写表单到审核.2：管理员先录入，再邀请",notes = "")
    @TableField(value = "qr_type")
    private Integer qrType;

    @ApiModelProperty(name = "审核表id",notes = "")
    @TableField(value = "audit_base_id")
    private String auditBaseId;
}
